From 19c7afdf5727384c33f11479c5005181495223b5 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sat, 19 Jun 1993 21:07:02 +0000 Subject: [PATCH] * sysdep.c (rename): Make arguments const. autoconf #defines const away on systems which don't have it; any system with prototypes will declare the arguments const (the ones to which I have access do); and systems without prototypes won't notice. --- src/sysdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sysdep.c b/src/sysdep.c index 8e7858f23d4..bed1f70035a 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -2694,8 +2694,8 @@ getwd (pathname) #ifndef HAVE_RENAME rename (from, to) - char *from; - char *to; + const char *from; + const char *to; { if (access (from, 0) == 0) { -- 2.30.2